home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / patch / backupfile.h < prev    next >
C/C++ Source or Header  |  1994-08-01  |  936b  |  36 lines

  1. /* backupfile.h -- declarations for making Emacs style backup file names
  2.    Copyright (C) 1990 Free Software Foundation, Inc.
  3.  
  4.    This program is free software; you can redistribute it and/or modify
  5.    it without restriction.
  6.  
  7.    This program is distributed in the hope that it will be useful,
  8.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  9.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  */
  10.  
  11. /* When to make backup files. */
  12. enum backup_type
  13. {
  14.   /* Never make backups. */
  15.   none,
  16.  
  17.   /* Make simple backups of every file. */
  18.   simple,
  19.  
  20.   /* Make numbered backups of files that already have numbered backups,
  21.      and simple backups of the others. */
  22.   numbered_existing,
  23.  
  24.   /* Make numbered backups of every file. */
  25.   numbered
  26. };
  27.  
  28. extern enum backup_type backup_type;
  29. extern char *simple_backup_suffix;
  30.  
  31. #ifdef __STDC__
  32. char *find_backup_file_name (char *file);
  33. #else
  34. char *find_backup_file_name ();
  35. #endif
  36.